The text part of the legend on Special:RecentChanges and
Special:Watchlist does not have a own class for styling.
Added a 'mw-changeslist-legend-*' class to the items similar to the
already existing class 'mw-changeslist-legend-plusminus' for the last
item.
Change-Id: Ib249d4d7a78a5e3deaace27ceee1abc955b96160
$legend .= Html::element( 'dt',
array( 'class' => $cssClass ), $context->msg( $letter )->text()
) . "\n" .
- Html::rawElement( 'dd', array(),
+ Html::rawElement( 'dd',
+ array( 'class' => Sanitizer::escapeClass( 'mw-changeslist-legend-' . $key ) ),
$context->msg( $label )->parse()
) . "\n";
}